package com.kfm.product.service;

import com.kfm.common.domain.entity.Product;

import java.util.List;

public interface ProductService {


    int deleteByPrimaryKey(Integer productId);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer productId);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    int batchInsert(List<Product> list);

    List<Product> selectByCondition(Product product);
}

